//
//  secondviewcontroller.m
//  multi view
//
//  Created by iD Student on 7/23/13.
//  Copyright (c) 2013 student. All rights reserved.
//

#import "secondviewcontroller.h"

@interface secondviewcontroller ()

@end

@implementation secondviewcontroller
@synthesize num1;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
    NSLog([[NSString alloc] initWithFormat:@"value:%d",num1]);
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
    
}

- (IBAction)gotofirst:(id)sender {
    [self dismissViewControllerAnimated:YES completion:nil];
}
@end
